/*
	int execve(const char *pathname, char * const argv[], char * const envp[])

	pathname :	绝对路径
	argv :	参数列表
	envp : 新环境变量数组
*/
#include <unistd.h>

int main(int argc, char * argv[]) {
	char * argvv[] = {"ls", "-al", "/etc/passwd", (char *)NULL};
	char * envp[] = {"PATH=/bin", (char *)NULL};

	execve("/bin/ls", argvv, envp);

	return 0;
}
